package com.example.demo.mapper;

import com.example.demo.entity.ShareTemplate;
import com.example.demo.entity.ShareTemplateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShareTemplateMapper {
    long countByExample(ShareTemplateExample example);

    int deleteByExample(ShareTemplateExample example);

    int deleteByPrimaryKey(Integer shareTemplateId);

    int insert(ShareTemplate record);

    int insertSelective(ShareTemplate record);

    List<ShareTemplate> selectByExample(ShareTemplateExample example);

    ShareTemplate selectByPrimaryKey(Integer shareTemplateId);

    int updateByExampleSelective(@Param("record") ShareTemplate record, @Param("example") ShareTemplateExample example);

    int updateByExample(@Param("record") ShareTemplate record, @Param("example") ShareTemplateExample example);

    int updateByPrimaryKeySelective(ShareTemplate record);

    int updateByPrimaryKey(ShareTemplate record);
}